﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Data;
using QLT_Public;
using System.Data;

namespace QLT_BLL
{
   public  class KhachHang_BLL
    {
       KhachHang_Data khachHang = new KhachHang_Data();
       public DataTable LayDuLieu()
       {
           return khachHang.LayDuLieu();
       }
       
       public int insert_KhachHang(KhachHang_Public tenKH, KhachHang_Public diaChi)
       {
           return khachHang.Insert_KhachHang(tenKH, diaChi);
       }
       public int update_KhachHang(KhachHang_Public maKH, KhachHang_Public tenKH, KhachHang_Public diaChi)
       {
           return khachHang.Update_KhachHang(maKH, tenKH, diaChi);
       }
       public int delete_KhachHang(KhachHang_Public maKH)
       {
           return khachHang.Delete_KhachHang(maKH);
       }
       public DataTable Load_TimKiem_KhachHang()
       {
           return khachHang.Load_TimKiem_KhachHang();
       }
       public DataTable TimKiem_TenKH(KhachHang_Public tenKH)
       {
           return khachHang.TimKiem_TenKH(tenKH);
       }
       public DataTable TimKiem_DiaChi(KhachHang_Public diaChi)
       {
           return khachHang.TimKiem_DiaChi(diaChi);
       }
       public DataTable TimKiem_TenKH_DiaChi(KhachHang_Public tenKH, KhachHang_Public diaChi)
       {
           return khachHang.TimKiem_TenKH_DiaChi(tenKH, diaChi);
       }
    }
}
